<%@ page import="top.lionkliu.entity.User" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<html>
<head>
    <title>留言板</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="../static/bootstrap/css/bootstrap.css">
    <link rel="stylesheet" href="../static/bootstrap/css/bootstrap.min.css">
    <script src="../static/js/jquery.js"></script>
    <script src="../static/bootstrap/js/bootstrap.js"></script>
</head>
<body>
<%
    if (session.getAttribute("loginUser") != null) {

%>
<%@include file="../common/NavBar.jsp" %>

<%@include file="../common/note.jsp"%>
<%
} else {
    // 用户未登陆，提示用户登陆，并跳转
%>
您还未登陆，请先登陆！！！
<a href="<%=request.getContextPath()%>/login.jsp">去登陆</a>！！！
<%
    }
%>

</body>
</html>

